<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css">
    <title><%=title%></title>
</head>
<body>
    <div class="container">
        <div class="page-header">
            <h1><%=title%></h1>
        </div>
        <table class="table table-striped table-bordered table-hover">
            <tr>
                <th>编号</th>
                <th>名称</th>
                <th>价格</th>
            </tr>
            <% products.forEach(product=>{ %>
            <tr>
                <td><%=product.id%></td>
                <td><%=product.title%></td>
                <td><%=product.price%></td>
            </tr>
            <%})%>
        </table>
    </div>
</body>
<!-- <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script> -->
</html>